package com.example.validatestudy.demos.web.feign;

import com.example.validatestudy.demos.web.vo.AuthorizeRequest;
import com.example.validatestudy.demos.web.vo.AuthorizeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name="didiPost",url = "https://api.es.xiaojukeji.com")
public interface DidiPostSpi {

    /**
     * 授权认证
     * @author dubin006
     * @version v1
     * @param request
     * @since 2023/5/30
     * @summary
     */
    @PostMapping(value = "/river/Auth/authorize")
    AuthorizeResponse authorize(@RequestBody AuthorizeRequest request);



}
